#pragma once

#include "extnode.h"

class IntNode :	public ExtNode
{
public:
    IntNode() { m_leftChild = 0; m_rightChild = 0; }

    virtual int getBucketPosition() { return -1; }
    virtual void setBucketPosition(int position) {}
    virtual ExtNode* getLeftChild() { return m_leftChild; }
    virtual ExtNode* getRightChild() { return m_rightChild; }
    virtual void setLeftChild(ExtNode *leftChild) { m_leftChild = leftChild; }
    virtual void setRightChild(ExtNode *rightChild) { m_rightChild = rightChild; }

private:
    ExtNode *m_leftChild;
    ExtNode *m_rightChild;
};
